package com.sys.controller;

import com.sys.entity.SysCrontabType;
import com.sys.service.SysUserService;
import com.bhudy.base.QueryFilter;
import com.sys.utils.ExcelUtil;
import com.bhudy.utils.XqhUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.*;

/**
 * Created by Administrator on 2020/3/31/031.
 */
@RestController
public class SysMianController {
    @Autowired
    private SysUserService sysUserService;

    /*@GetMapping(value = "/api/v1/test")
    public void exportExcelByRedisKey() {
        SysCrontabType sysCrontabType = new SysCrontabType();
        sysCrontabType.setId(159937378042200000L);
        sysCrontabType.setName("name1");
        sysCrontabType.setJobClassName("test1");
        SysCrontabType sysCrontabType2 = new SysCrontabType();
        sysCrontabType2.setId(159937378042200001L);
        sysCrontabType2.setName("name2");
        sysCrontabType2.setJobClassName("test2");
        List<SysCrontabType> sysCrontabTypeList = new ArrayList<>();
        sysCrontabTypeList.add(sysCrontabType);
        sysCrontabTypeList.add(sysCrontabType2);
        sysUserService.update(sysCrontabTypeList);
    }*/

}
